<template>
  <!-- 弹窗替 -->
  <el-dialog v-model="dialogFormVisible"  width="800" hidden>
      <div>
         <slot name="mapBox"></slot>
      </div>
  </el-dialog>
</template>

<script setup lang="ts">

import { ref } from 'vue'

const dialogFormVisible = ref(false)

const  showDialog = () =>{
  dialogFormVisible.value = true
}
// 将方法暴露给父组件
defineExpose({
  showDialog
});

</script>
<style scoped lang="less">
</style>